<template>
    <div>
        <xiaoman-btn :obj="JSON.stringify(obj)" />
    </div>
</template>

<script setup lang='ts'>
import { defineCustomElement } from 'vue'
import customVueCe from './custom-vue.ce.vue';

const Btn = defineCustomElement(customVueCe)
window.customElements.define('xiaoman-btn ', Btn)

const obj = { name: 1 }

</script>

<style scoped lang="scss"></style>